/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.naguisabet.facturacion.jpaController;

/**
 *
 * @author ARQUITECTURA
 */
public class JpaControllerFactory {

    private static JpaControllerFactory jcf;

    private JpaControllerFactory() {}

    public static JpaControllerFactory getInstace(){
        if(jcf==null){
            jcf=new JpaControllerFactory();
        }
        return jcf;
    }

    public IFacturaJpaController getFacturaJpaController(){
        IFacturaJpaController ifjc=new FacturaJpaController();
        return ifjc;
    }

    public IVendedorJpaController getVendedorJpaController(){
        IVendedorJpaController ivjc=new VendedorJpaController();
        return ivjc;
    }



}
